VERSION 5.00
Begin VB.Form frmMOTD 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "Message of the Day"
   ClientHeight    =   5655
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   7935
   ControlBox      =   0   'False
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   5655
   ScaleWidth      =   7935
   StartUpPosition =   2  'CenterScreen
   Begin VB.Timer tmrEnabler 
      Enabled         =   0   'False
      Interval        =   10000
      Left            =   3720
      Top             =   0
   End
   Begin VB.CommandButton cmdClose 
      Height          =   375
      Left            =   6360
      TabIndex        =   2
      Top             =   5160
      Width           =   1455
   End
   Begin VB.TextBox txtMotd 
      BeginProperty Font 
         Name            =   "Verdana"
         Size            =   8.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   4695
      Left            =   120
      Locked          =   -1  'True
      MultiLine       =   -1  'True
      ScrollBars      =   2  'Vertical
      TabIndex        =   1
      Top             =   360
      Width           =   7695
   End
   Begin VB.Label lblTitle 
      Height          =   255
      Left            =   120
      TabIndex        =   0
      Top             =   120
      Width           =   3015
   End
End
Attribute VB_Name = "frmMOTD"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub cmdClose_Click()
Unload Me
Dim oForm As Form

If NoReconnect = True Then
 For Each oForm In Forms
 Unload oForm
 Next
 End
End If

End Sub

Private Sub Form_Load()
cmdClose.Caption = lang.Buttons(4)
Me.Caption = lang.Messages(31)

cmdClose.Enabled = False
tmrEnabler.Enabled = True
modSound.PlaySound App.Path & "\sounds\MOTD.WAV", False

End Sub

Private Sub Form_Unload(Cancel As Integer)
If cmdClose.Enabled = False Then Cancel = 1
End Sub

Private Sub tmrEnabler_Timer()
cmdClose.Enabled = True
tmrEnabler.Enabled = False

End Sub

Private Sub txtMotd_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyTab Then
If tmrEnabler.Enabled = True Then frmMain.SpeechInterface.Say lang.SpeechMsg(2), True
End If
End Sub
